{layout name="p/base"}
  <div id="page-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h1>旅行币管理 <small>旅行币信息列表</small></h1>
        <ol class="breadcrumb">
          <li><a href="index.php"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li class="active"><i class="fa fa-table"></i> 旅行币信息列表</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          这里可以添加、修改、删除旅行币信息 
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-12">
        <form class="form-horizontal" role="form" action="/intergrate" method="get">
          <button type="button"  class="btn btn-primary">充值</button>
          <div class="form-group" style="float:right;margin-right:20px;">
            <label for="">选择营地</label>
            <select class="form-control" name="searchfield">
            <option value="number">全部</option>
              <option value="number">北京八达岭房车露营地</option>
              <option value="name">北京迪斯尼房车露营地</option>
            </select>
          </div>
          <div class="form-group" style="float:right;margin-right:20px;">
            <label for="">选择分公司</label>
            <select class="form-control" name="searchfield">
              <option value="number">全部</option>
              <option value="number">浙江分公司</option>
              <option value="name">内蒙古分公司</option>
            </select>
          </div>
          <div class="form-group" style="float:right;margin-right:20px;">
            <label for="">选择区域</label>
            <select class="form-control" name="searchfield">
              <option value="number">全部</option>
              <option value="number">北京</option>
              <option value="name">上海</option>
            </select>
          </div>
        </form>
        <div class="form-group input-group" style="width:40%;">
          <input class="form-control" type="text" placeholder="会员账号/区域/分公司/营地">
          <span class="input-group-btn">
            <button class="btn btn-default">搜索</button>
          </span>
        </div>
        <div class="table-responsive">
          <table class="table table-bordered table-hover table-striped tablesorter">
            <thead>
              <tr>
                <th><div class="checker"><span><input type="checkbox" name=""></span></div></th>
                <th>时间</th>
                <th>类型</th>
                <th>金额</th>
                <th>会员账户</th>
                <th>分公司名称</th>
                <th>营地名称</th>
                <th>来源</th>
                <th>支付账号</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
            {volist name='list' id='vo'}
              <tr>
                <td><div class="checker"><span><input type="checkbox" name=""></span></div></td>
                <td>{$vo.operate_time}</td>
                <td>{$vo.type}</td>
                <td>{$vo.intergrate}</td>
                <td><a>{$vo.homeusers.mobile}</a></td>
                <td><a>{$vo.homeusers.mobile}</a></td>
                <td><a>{$vo.homeusers.mobile}</a></td>
                <td>{$vo.remark}</td>
                <td><a href="/intergrate/create?user_id={$vo.user_id}">充值</a> | <a href="score-list-minus.php">扣分</a></td>
              </tr>
            {/volist}
            </tbody>
          </table>
        </div> 
      </div>
      <div class="col-sm-12">
        <ul class="pagination pagination-sm pull-right">
          <li class="disabled"><a href="#"><</a></li>
          <li class="active"><a href="#">1</a></li>
          <li><a href="#">2</a></li>
          <li><a href="#">3</a></li>
          <li><a href="#">4</a></li>
          <li><a href="#">5</a></li>
          <li><a href="#">></a></li>
        </ul>
      </div>
    </div>
    <!-- /.row -->
    
  </div><!-- /#page-wrapper -->

